/* Base styles for drag-n-drop functionality */
.dragdrop-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #f5f5f5;
  border-radius: 24px;
  min-height: 400px;
  position: relative;
}

.dragdrop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}

.dragdrop-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  cursor: move;
  user-select: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.dragdrop-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dragdrop-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.dragdrop-item.dragging {
  opacity: 0.5;
  transform: scale(1.05);
  z-index: 1000;
}

.dragdrop-placeholder {
  background: #e0e0e0;
  border: 2px dashed #999;
  border-radius: 12px;
  transition: background-color 0.2s ease;
}

.dragdrop-placeholder.active {
  background: #f0f0f0;
  border-color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dragdrop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .dragdrop-grid {
    grid-template-columns: 1fr;
  }
} 